package com.treasure.mall.biz.vo.user;

import com.treasure.mall.biz.vo.BaseVO;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author guomw
 * @version 1.0
 * @date 2019/10/20 15:03
 */
@Data
@NoArgsConstructor
public class UserTeamTreeVO implements BaseVO {
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 父级ID
     */
    private Long parentId;
    /**
     * 用户姓名
     */
    private String name;

    private String nameText;


    public UserTeamTreeVO(Long userId, Long parentId, String name) {
        this.userId = userId;
        this.name = name;
        this.parentId = parentId;
    }
}
